export const autoGpApiConfig = [
  { 
    name: 'name', 
    label: '接口程序名称', 
    type: 'input', 
    placeholder: '请输入程序名称，如: 工单数据获取接口',
    defaultValue: '工单数据获取接口' 
  },
  { 
    name: 'module', 
    label: '模组', 
    type: 'input', 
    placeholder: '请输入模组，如：CSF',
    defaultValue: 'CSF' 
  },
  { 
    name: 'programId', 
    label: '程序编号', 
    type: 'input', 
    placeholder: '请输入程序编号',
    defaultValue: 'csfr001' 
  },
  { 
    name: 'interfaceFunction', 
    label: '接口函数', 
    type: 'input', 
    placeholder: '请输入接口函数',
    defaultValue: 'csf_getWorkOrderData' 
  },
  { 
    name: 'sql', 
    label: 'SQL', 
    type: 'textarea', 
    rows: 5, 
    placeholder: '请输入SQL语句',
    defaultValue: `SELECT sfa01, sfa02, sfa03, sfa04, sfa05, sfa06, sfa07, sfa08 FROM sfa_file` 
  },
  {
    name: 'author',
    label: '作者',
    type: 'input',
    placeholder: '请输入作者名称',
    defaultValue: 'Claude'
  }
];

export const singleDocConfig = [
  { name: 'programId', label: '程序编号', type: 'input', placeholder: '请输入程序编号',defaultValue: 'cooi040' },
  { name: 'programPath', label: '程序路径', type: 'input', placeholder: '请输入程序路径',defaultValue: 'coo/42f/cooi001' },
  { 
    name: 'module', 
    label: '模组', 
    type: 'input', 
    placeholder: '请输入模组，如：COO',
    defaultValue: 'COO' 
  },
  { 
    name: 'formName', 
    label: '界面数组', 
    type: 'input', 
    placeholder: '请输入界面数组，如：s_detail',
    defaultValue: 's_detail' 
  },
];

export const queryApiConfig = [
  { name: 'programId', label: '程序编号', type: 'input', placeholder: '请输入程序编号 如：aws_get_asft620' },
  { name: 'interfaceFunction', label: '接口函数', type: 'input', placeholder: '请输入接口函数 如：aws_get_asft620_process' },
  { name: 'sql', label: 'SQL', type: 'textarea', rows: 5, placeholder: '请输入SQL语句' }
];

export const doubleDocConfig = [
  {
    name: 'programName',
    label: '程序名称',
    type: 'input',
    placeholder: '请输入程序名称',
    defaultValue: '',
    required: true
  },
  {
    name: 'programPath',
    label: '程序路径',
    type: 'input',
    placeholder: '请输入程序路径',
    defaultValue: '',
    required: true
  },
  {
    name: 'description',
    label: '程序描述',
    type: 'input',
    placeholder: '请输入程序描述',
    defaultValue: '',
    required: false
  },
  {
    name: 'author',
    label: '作者',
    type: 'input',
    placeholder: '请输入作者名称',
    defaultValue: '',
    required: false
  }
];

export const autoGpFakeDoubleConfig = [
  { name: 'programId', label: '程序编号', type: 'input', placeholder: '请输入程序编号',defaultValue: 'cpji109' },
  { name: 'programPath', label: '程序路径', type: 'input', placeholder: '请输入程序路径',defaultValue: 'cpj/42f/cpji109' },
  { 
    name: 'module', 
    label: '模组', 
    type: 'input', 
    placeholder: '请输入模组，如：COO',
    defaultValue: 'cpj' 
  },
  { 
    name: 'formName', 
    label: '界面数组', 
    type: 'input', 
    placeholder: '请输入界面数组，如：s_detail',
    defaultValue: 's_tb_abr' 
  },
];